package com.jyb.qiyefuwu.api;

import com.jyb.qiyefuwu.api.net.EnterPriseNewNet;
import com.jyb.qiyefuwu.api.service.HomeApi;
import com.jyb.qiyefuwu.api.service.UserCenterApi;
import com.jyb.qiyefuwu.api.service.UserCenterPayApi;

public class EnterpriseServiceAPIManager {
    private static EnterpriseServiceAPIManager apiManager;


    /**
     * 接口初始化入口
     */
    public static EnterpriseServiceAPIManager getInstance() {
        if (apiManager == null) {
            apiManager = new EnterpriseServiceAPIManager();
        }
        return apiManager;
    }


    public HomeApi getEnterPriseNewAPI() {
        return EnterPriseNewNet.getInstance().getService();
    }

    public UserCenterApi getUserCenterAPI() {
        return EnterPriseNewNet.getInstance().getUserCenterService();
    }
    public UserCenterPayApi getUserCenterPayAPI() {
        return EnterPriseNewNet.getInstance().getmUserCenterPayApi();
    }
}
